package com.hpf.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

/**
 * @description:
 * @datetime: 2020/12/4 23:59
 * @author: huangpengfei
 */
@SpringBootApplication
@EnableElasticsearchRepositories(basePackages = "com.hpf.cloud.service.es")
@EnableFeignClients
@EnableDiscoveryClient
public class CommonApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommonApiApplication.class, args);
    }
}
